//
//  LanBDepositer.h
//  LanBKit_Example
//
//  Created by v on 2020/11/6.
//  Copyright © 2020 v. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LanBDepositWebController.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^openUrlBlock)(BOOL complete, NSURL *url);

@interface LanBDepositer : NSObject

@property (nonatomic, copy, readonly) openUrlBlock openUrlBlock;
@property (nonatomic, strong, readonly) NSString *aliScheme;
@property (nonatomic, strong, readonly) NSString *wxH5Scheme;

+ (instancetype)shared;
- (void)lanb_setAliScheme:(NSString*)aliScheme wxH5Scheme:(NSString*)wxH5Scheme;
- (LanBDepositWebController*)lanb_depositWithInfo:(NSString*)info openUrlBlock:(openUrlBlock)block;

+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END
